
/* CAU LENH DUNG DE THUC THI STORE
	DECLARE DINH NGHIA
	EXEC THUC THI
*/
DECLARE @TENDN NVARCHAR(30) 
SET @TENDN = 'ABC'
DECLARE @MATKHAU
SET @MATKHAU = 'ABC'
DECLARE @RESULT INT
EXEC SP_KIEMTRATENDANGNHAP '@TENDN','@MATKHAU',@RESULT OUTPUT
SELECT @RESULT AS 'RESULT'

DECLARE @RESULT INT
EXEC SP_KIEMTRATENDANGNHAP 'ABC','ABC',@RESULT OUTPUT
SELECT @RESULT AS 'RESULT'